package com.cqeec.gams.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cqeec.gams.entity.RolePermission;

public interface RolePermissionMapper {
	public void insert(@Param("roleId") String roleId, @Param("roleName") String roleName,
			@Param("functions") String[] functions);
	
	public List<RolePermission> findByRole(String id);

	/**
	 * @param id
	 */
	public void deleteByRole(String id);
}
